//VSDL headers
#include "VSDL_tools.h"
#include "VSDL_gamengine.h"
#include "VSDL_gamestate.h"
//ULCore headers
#include "ULCore_Serial.h"
#include "ULCore_History.h"
#include "ULCore_Statistic.h"
#include "ULCore_RandomPool.h"
#include "ULCore_Prediction.h"
//ULGfx headers
//UI headers
//UL headers
#include "UL_Tools.h"
#include "UL_Global.h"


int main(int argc, char *argv[])
{
	int ret;
	bool updateHistory = false;

	if (argc == 2 && strcmp(argv[1], "-u") == 0){
		updateHistory = true;
	}

	ret = UL_Global::UnionLottoInit(updateHistory, FONT_FILE, 15, NULL);

	if (ret < 0){
		cout << "Cannot initialize basic enviroment" << endl;
		return -1;
	}

	UL_Global::UnionLottoRun();

	UL_Global::UnionLottoEnd();

	return 0;
}
